package com.purang.web.converter;

import com.purang.web.entity.domain.UserDo;
import com.purang.web.entity.dto.UserDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * PO转换器
 *
 * @author Chunyan Li
 * @version 1.0-RELEASE
 * @since 1.0-RELEASE
 */
@Mapper
public interface DoConverter {

    DoConverter INSTANCE = Mappers.getMapper(DoConverter.class);

    UserDo convert(UserDto userDto);
}
